package com.sxt.shiro.mapper;


import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import com.sxt.shiro.domain.User;

/**
 * @功能描述：TODO
 * @创建日期: 2019/2/22 20:24
 */
@Mapper
public interface UserMapper {
	
    @Select("select * from tb_user01 where name = #{name}")
    public User findByName(String name);

    @Select("select * from tb_user01 where id = #{id}")
    public User findById(Integer id);
}
